<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">
		<title>销售报价信息</title>
		<link rel="stylesheet" type="text/css" href="css/public.css">
		<script language="JavaScript" src="js/public.js"></script>
		<script type="text/javascript" src="js/date1.js"></script>
		<script type="text/javascript" src="js/sellprice.js"></script>
		<script type="text/javascript" src="js/validate.js"></script>
		<script type="text/javascript" src="js/ajax.js"></script>
		<script type="text/javascript">
			function showList() {
			window.location.href("showSellPriceList.action");
			}
		</script>		
	</head>
<body>
	<div id="info_all">
		<div id="info_top"> 
			销售报价信息
		</div>
		<!-- 主输入区 -->
		<!-- 功能按钮 -->
		<s:form action="showSellPriceDetail.action" method="post" theme="simple" id="delrow">
		<div id="info_main">
			<!-- 查询栏 -->
			<div id="info_input">
				<hr>
				<table>
				<s:if test="!sellPriceDTOList.isEmpty">
					<s:iterator value="sellPriceDTOList" status="status">
					<tr>
						<td width="60px">
							购货单位:
						</td>
						<td width="130px">	
							<s:textfield  name="customer.customerName" id="customerName" readonly="true" size="12" ></s:textfield>
						</td>
						<td width="50px">
							日期:
						</td>
						<td width="130px">
							<s:textfield  name="sellprice.sellDate" id="sellDate" readonly="true" size="12" ></s:textfield>
						</td>  
						<td width="55px">
							编号:
						</td>
						<td width="130px">
							<s:textfield  name="sellprice.sellPriceCode" id="sellPriceCode" readonly="true" size="12" ></s:textfield>
						</td>
						<td width="55px">
							币别:
						</td>
						<td width="130px">
							<s:textfield  name="currency.currencyName" id="currencyName" readonly="true" size="12" ></s:textfield>
						</td>
					</tr>
					<tr>
						
						<td width="60px">
							主管:
						</td>
						<td>
							<s:textfield name="manager.candiateName" id='candiateName' readonly="true" size="12"></s:textfield>
						</td>
					
						<td width="60px">
							部门:
						</td>
						<td>
							<s:textfield name="department.departmentName" id='departmentName' readonly="true" size="12"></s:textfield>
						</td>
						<td width="60px">
							业务员:
						</td>
						<td>
							<s:textfield name="businesser.candiateName" id='candiateName' readonly="true" size="12"></s:textfield>
						</td>
						<td width="60px">
							汇率:
						</td>
						<td>
							<s:textfield name="sellprice.exchangeRate" id='exchangeRate' readonly="true" size="12"></s:textfield>
						</td>
					</tr>
					<tr>

						<td width="60px">
							制单人:
						</td>
						<td >
							<s:textfield name="sellprice.makeBiller" id='makeBiller' readonly="true" size="12"></s:textfield>
						</td>
						<td width="60px">
							审核人:
						</td>
						<td >
							<s:textfield name="sellprice.checker" id='checker' readonly="true" size="12"></s:textfield>
						</td>
						<td width="60px">
							审核日期:
						</td>
						<td >
							<s:textfield name="sellprice.checkDate" id='checkDate' readonly="true" size="12"></s:textfield>
						</td>
					</tr>
				</s:iterator>
			</s:if>
				</table>
				<hr>

			</div>
			<div class="sele" style="text-align: left; padding-left: 10px;">
				销售报价明细
				<hr>
			</div>
			<!-- 信息显示栏 -->
			<div id="info_info4">
				<table id="info_table" width="1300px" cellspacing=1px
					cellpadding=1px class="sortable">
					<thead id="head">
						<tr>
							<th width="100px">
								产品代码*
							</th>
							<th width="90px">
								产品名称
							</th>
							<th width="90px">
								规格型号
							</th>
							<th width="130px">
								基本单位名称
							</th>
							<th width="130px">
								基本单位数量（从）
							</th>
							<th width="130px">
								基本单位数量（到）
							</th>
							<th width="80px">
								单位*
							</th>
							<th width="90px">
								数量段(从)
							</th>
							<th width="90px">
								数量段(到)
							</th>
							<th width="70px">
								单价
							</th>
							<th width="90px">
								含税单价
							</th>
							<th width="70px">
								税率
							</th>
							<th width="80px">
								折扣率
							</th>
							<th width="120px">
								实际含税单价
							</th>
							<th width="70px">
								备注
							</th>
						</tr>
					</thead>
					<tbody>
						<s:if test="!sellPriceDetailDTOList.isEmpty">
									<s:iterator value="sellPriceDetailDTOList" status="status">
										<tr>
											<td>
												<s:property value="sellpricedetail.productCode" />&nbsp;
											</td>
											<td>
												<s:property value="sellpricedetail.productName" />&nbsp;
											</td>
											<td>
												<s:property value="sellpricedetail.standardType" />&nbsp;
											</td>
											<td>
												<s:property value="sellpricedetail.baseUnitName" />&nbsp;
											</td>
											<td>
												<s:property value="sellpricedetail.baseUnitNoStart" />&nbsp;
											</td>
											<td>
												<s:property value="sellpricedetail.baseUnitNoEnd" />&nbsp;
											</td>
											<td>
												<s:property value="sellpricedetail.unit" />&nbsp;
											</td>
											<td>
												<s:property value="sellpricedetail.amountStart" />&nbsp;
											</td>
											<td>
												<s:property value="sellpricedetail.amountEnd" />&nbsp;
											</td>
											<td>
												<s:property value="sellpricedetail.unitPrice" />&nbsp;
											</td>
											<td>
												<s:property value="sellpricedetail.addTaxUnitPrice" />&nbsp;
											</td>
											<td>
												<s:property value="sellpricedetail.taxRate" />&nbsp;
											</td>
											<td>
												<s:property value="sellpricedetail.discountRate" />&nbsp;
											</td>
											<td>
												<s:property value="sellpricedetail.realAddTaxUnitPrice" />&nbsp;
											</td>
											<td>
												<s:property value="sellpricedetail.remark" />&nbsp;
											</td>
										</tr>
									</s:iterator>
						</s:if>

					</tbody>
					<tfoot>
						<tr>
						</tr>
					</tfoot>
				</table>
				<script language="javascript">  
						//("表格名称","奇数行背景","偶数行背景","点击后背景");
						 mouseclick("info_table","#ffffff","#ffffff","#e6f0fd");
						 //("表格名称","奇数行背景","偶数行背景");
						 //setcolor("t","#ffffff","#ffffff");
				</script>
			</div>
			<div style="margin: 6px; text-align: center;">
				<input type="button" value="返回" onClick="showList()"
				onFocus="this.blur()" onMouseOver="this.className='btnover'"
				onmouseout="this.className='btnout'" class="btnsize" />
			</div>
		</div>
		</s:form>
	</div>
</body>
</html>
							